home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Applications / Muddweller 1.2 / source code / Main / MTPStuff.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-11  |  718 b   |  24 lines  |  [TEXT/MPS ]

  1. /* MTPStuff - Implementation of the MTP client routines                       */
  2.  
  3. #ifndef __MTPSTUFF__
  4. #define __MTPSTUFF__
  5.  
  6. #ifndef __MUDDOC__
  7. #include "MUDDoc.h"
  8. #endif
  9.  
  10.  
  11. pascal void CopyP2CStr (unsigned char *aPStr, unsigned char *aCStr);
  12. pascal long GetFileLength (TMUDDoc *theDoc, short fRef);
  13. pascal void PStrCat (unsigned char *str, unsigned char *src);
  14.  
  15. pascal void MTPDirSetup (TMUDDoc *theDoc, short vRefNum, long dirID);
  16. pascal void MTPDirCheck (TMUDDoc *theDoc);
  17.  
  18. pascal void MTPBuildPath (TMUDDoc *theDoc, AppFile *theFile, Str255 path);
  19. pascal void MTPReceive (TMUDDoc *theDoc, Str255 path, Str255 fileName,
  20.         short vRefNum);
  21. pascal void MTPSend (TMUDDoc *theDoc, AppFile *theFile, Str255 path);
  22.  
  23. #endif
  24.